CVE-2026-34177
VM lowlevel restriction bypass via raw.apparmor and raw.qemu.conf
Description
Canonical LXD versions 4.12 through 6.7 contain an incomplete denylist in isVMLowLevelOptionForbidden (lxd/project/limits/permissions.go), which omits raw.apparmor and raw.qemu.conf from the set of keys blocked under the restricted.virtual-machines.lowlevel=block project restriction. A remote attacker with can_edit permission on a VM instance in a restricted project can inject an AppArmor rule and a QEMU chardev configuration that bridges the LXD Unix socket into the guest VM, enabling privilege escalation to LXD cluster administrator and subsequently to host root.
INFO
Published Date :
April 9, 2026, 10:16 a.m.
Last Modified :
April 22, 2026, 8:57 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | cc1ad9ee-3454-478d-9317-d3e869d708bc | ||||
| CVSS 3.1 | CRITICAL | [email protected] | ||||
| CVSS 3.1 | CRITICAL | MITRE-CVE |
Solution
- Update LXD to a patched version.
- Apply necessary security configurations.
- Review project restrictions.
Public PoC/Exploit Available at Github
CVE-2026-34177 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-34177.
| URL | Resource |
|---|---|
| https://github.com/canonical/lxd/pull/17909 | Issue Tracking |
| https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f | Third Party Advisory |
| https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-34177 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-34177
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
DSA and DLA for Debian last 14 days
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-34177 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-34177 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Apr. 22, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* versions from (including) 4.12 up to (including) 5.0.6 *cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* versions from (including) 5.21.0 up to (including) 5.21.4 *cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* versions from (including) 6.0 up to (including) 6.7 Added Reference Type Canonical Ltd.: https://github.com/canonical/lxd/pull/17909 Types: Issue Tracking Added Reference Type CISA-ADP: https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f Types: Third Party Advisory Added Reference Type Canonical Ltd.: https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f Types: Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Apr. 09, 2026
Action Type Old Value New Value Added Reference https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f -
New CVE Received by [email protected]
Apr. 09, 2026
Action Type Old Value New Value Added Description Canonical LXD versions 4.12 through 6.7 contain an incomplete denylist in isVMLowLevelOptionForbidden (lxd/project/limits/permissions.go), which omits raw.apparmor and raw.qemu.conf from the set of keys blocked under the restricted.virtual-machines.lowlevel=block project restriction. A remote attacker with can_edit permission on a VM instance in a restricted project can inject an AppArmor rule and a QEMU chardev configuration that bridges the LXD Unix socket into the guest VM, enabling privilege escalation to LXD cluster administrator and subsequently to host root. Added CVSS V3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H Added CWE CWE-184 Added Reference https://github.com/canonical/lxd/pull/17909 Added Reference https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f